<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<%@ include file="/commons/commonDetail.jsp" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>${key.title }</title>
 <!-- <script type="text/javascript" src="${ctx}/pages/com/ce/pms/charge/chargeVoucherPring/cascadeCheck.js"></script> -->
<script type="text/javascript" src="${ctx }/scripts/div/common.js"></script>
</head>
	  <style type="text/css" >
	  .onclickbg{
	  	background-color:#FEEC8C;
	  }
	  .offclickbg{
	  	background-color:#ffffff;
	  }
	  </style>
<body onKeyDown="CommonKey()";oncontextmenu="return HideContextMenu_right()">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td class="window_head_outBg">
	    <table border="0" cellpadding="0" cellspacing="0">
	      <tr><td><img src="${ctx}/images/ico_Advance.gif" width="16" height="16" align="absmiddle">
	      		  <span class="window_head_intext">${key.title }</span></td></tr>
	    </table>
    </td>
  </tr>
  <tr><td class="aux_header_line_1"></td></tr>
  <tr><td class="aux_header_line_2"></td></tr>
  <tr>
    <td valign="middle" class="content">
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td class="aux_outtable_color">
		  <div id="tab_Search" style="height:420px;overflow:auto;" >
			<table width="100%" border="0" cellpadding="0" cellspacing="1" class="aux_intable_color" >
  			  <tr>
     		   <td class="aux_outtable_color" colspan="4">
		  	 	 <iframe src="${ctx}/charge_chargeVoucherPrintAction.do?method=payDetailList&voucherId=${voucherId}" name="payDetailFrame"
		  	 	 	id="payDetailFrame" width="100%"  height="160px"  frameborder="0" border="0"  ></iframe>
  			   </td>
          </tr>
		  <tr><td colspan="4" class="aux_titletable">
                 <table border="0" cellspacing="0" cellpadding="0">
                    <tr><td><strong >${key.payMethod }:</strong></td></tr>
                 </table></td>
          </tr>
          <c:forEach items="${list}"  var="method" >
		  <tr>
            <td class="aux_intable_td1">${key.payments}：</td>
		    <td class="aux_intable_td2">${method.payments }${key.yuan }</td>
		    <td class="aux_intable_td1">${key.payMethod }：</td>
		    <td  class="aux_intable_td2">${method.payMethod }</td>
		  </tr>
		  </c:forEach>
          <tr><td colspan="4" valign="top" class="aux_titletable">${key.paySummary }</td></tr>
          <tr>
            <td valign="top" class="aux_intable_td1">${key.paySummary }：</td>
            <td  colspan="3"   style="word-break:break-all"  class="aux_intable_td2">${paySummary }</td>
          </tr>


          <tr><td colspan="4" valign="top" class="aux_titletable">开票信息</td></tr>
          <tr>
            <td valign="top" class="aux_intable_td1">是否开票：</td>
            <td style="word-break:break-all"  class="aux_intable_td2">${receiptVO.keyword == null ? '否' : '是' }</td>
            <td valign="top" class="aux_intable_td1">发票号：</td>
            <td style="word-break:break-all"  class="aux_intable_td2">${receiptVO.receiptName }</td>
          </tr>
          <tr>
            <td valign="top" class="aux_intable_td1">开票时间：</td>
            <td style="word-break:break-all"  class="aux_intable_td2"><fmt:formatDate pattern='yyyy-MM-dd' value='${receiptVO.receiptDate }'/></td>
            <td valign="top" class="aux_intable_td1">开票人：</td>
            <td style="word-break:break-all"  class="aux_intable_td2">${receiptVO.creatorName}</td>
          </tr>
           <tr>
            <td valign="top" class="aux_intable_td1">备注：</td>
            <td  colspan="3"   style="word-break:break-all"  class="aux_intable_td2">${receiptVO.remark }</td>
          </tr>

      </table>
	  </div>
      </td>
	</tr>
  </table>
	 </td>
  </tr>

  <tr>
    <td class="window_footer"><table border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td>&nbsp;</td>
        <td class="btn_between_space"></td>
        <td><table border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td class="buttonOffLeft" id="btn1_91"></td>
              <td class="buttonOffMiddle" id="btn1_92" onClick="windowClose();"
              		onMouseOver="btn_change_over(9)" onMouseOut="btn_change_out(9)" onBlur="btn_change(9)">
              	<img src="${ctx}/images/ico_cancel.gif" alt="" width="14" height="14" border="0" align="absbottom">${key.close }</td>
              <td class="buttonOffRight" id="btn1_93"></td>
            </tr>
        </table></td>
      </tr>
    </table>
    <p>&nbsp;</p></td>
  </tr>
</table>

</body>
</html>
